﻿namespace Hotel.Model.Infrastructure
{
    using System;
    using System.Data.SqlTypes;

    /// <summary>
    /// Provides pattern process entity "Undefined infinity"
    /// </summary>
    public class NullableEntity : IDistributedStorageEntity, INullable
    {
        public string PartitionKey
        {
            get
            {
                return null;
            }
            set
            {
                ;
            }
        }

        public string RowKey
        {
            get
            {
                return null;
            }
            set
            {
                ;
            }
        }

        public DateTime Timestamp
        {
            get;
            set;
        }

        public void AssignTo(object obj)
        {

        }

        public bool IsNull { get { return true; } }
    }
}
